package com.supercube.sport.yoga.utils;

import lombok.Data;

/**
 * Description：
 * Created By guowen
 */
@Data
public class ExcelHeader implements Comparable<ExcelHeader> {
    private String title;
    private int order;
    private String fieldName;

    @Override
    public int compareTo(ExcelHeader o) {
        return order - o.order;
    }

    public ExcelHeader(String title, int order, String fieldName) {
        this.title = title;
        this.order = order;
        this.fieldName = fieldName;
    }
}
